<!--
  *********************物流项目三组************************
*  功能描述：承运合同跟踪
*  作者：黄启轩
*  时间：2022-02-10
*  修改人：黄启轩
*  修改时间：2022-02-10
*********************物流项目三组************************
-->
<template>
  <div>
    <!-- 查询 -->
    <div class="div0">
      <el-row :gutter="12">
        <el-col :span="7"
          >合同标题：<el-input
            v-model="V_model"
            placeholder="请输入内容"
            size="medium"
          ></el-input
        ></el-col>
        <el-col :span="7"
          >外协单位：<el-input
            v-model="V_licenseplate"
            placeholder="请输入内容"
            size="medium"
          ></el-input
        ></el-col>
        <el-col :span="7"
          >外协负责人：<el-input
            v-model="V_drivere"
            placeholder="请输入内容"
            size="medium"
          ></el-input
        ></el-col>
      </el-row>
      <el-row :gutter="12">
        <el-col :span="7"
          >经办人：<el-input
            v-model="V_company"
            placeholder="请输入内容"
            size="medium"
          ></el-input
        ></el-col>
        <el-col :span="7"
          >签订时间：<el-input
            v-model="V_drivere"
            placeholder="请输入内容"
            size="medium"
          ></el-input
        ></el-col>

        <el-col :span="1.5"
          ><el-button type="primary" size="medium">查询</el-button></el-col
        >
        <el-col :span="1.5"><el-button size="medium">重置</el-button></el-col>
      </el-row>

      <el-row :gutter="12">
        <el-col :span="1"
          ><el-button type="primary" size="medium">删除</el-button></el-col
        >
      </el-row>
    </div>

    <!-- 分页显示 -->

    <div class="div1">
      <el-table :data="tableData" border style="width: 100%">
        <el-table-column type="selection" width="55"> </el-table-column>
        <el-table-column prop="V_model" label="合同编号" width="120">
        </el-table-column>
        <el-table-column prop="V_licenseplate" label="合同标题" width="120">
        </el-table-column>
        <el-table-column prop="V_drivere" label="货主单位" width="120">
        </el-table-column>
        <el-table-column prop="V_company" label="货主负责人" width="200">
        </el-table-column>
        <el-table-column prop="VLwh" label="线路" width="150">
        </el-table-column>
        <el-table-column prop="V_color" label="吨运价" width="120">
        </el-table-column>
        <el-table-column prop="V_titemb" label="包车条件吨位" width="120">
        </el-table-column>
        <el-table-column prop="V_ynumber" label="包车金额" width="120">
        </el-table-column>
        <el-table-column prop="V_stimeb" label="签订日期" width="120">
        </el-table-column>
        <el-table-column prop="V_etimeb" label="经办人" width="120">
        </el-table-column>
        <el-table-column prop="V_km" label="创建时间" width="120">
        </el-table-column>
        <el-table-column prop="V_km" label="异常报警" width="120">
        </el-table-column>
        <el-table-column prop="V_km" label="货运状态" width="120">
        </el-table-column>

        <el-table-column fixed="right" label="操作" width="150">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row)" type="text" size="small"
              >查看</el-button
            >
            <el-button type="text" size="small">编辑</el-button>
            <el-button type="text" size="small">删除</el-button>
          </template>
        </el-table-column>
      </el-table>
      <div style="float: right; margin-top: 20px">
        <el-pagination
          @size-change="handleSizeChange"
          @current-change="handleCurrentChange"
          :current-page="pageindex"
          :page-sizes="[1, 3, 5, 10]"
          :page-size="pagesize"
          layout="total, sizes, prev, pager, next, jumper"
          :total="pagetotal"
        >
        </el-pagination>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      formLabelWidth: "120px",
      pageindex: 1,
      pagesize: 5,
      tableData: [],
      pagetotal: 0,
    };
  },
  methods: {},
  created() {},
  computed: {},
};
</script>
<style scoped>
.div0,
.div1 {
  margin-left: 1%;
  margin-top: 1%;
}
.el-row {
  margin-bottom: 20px;
}
.last-child {
  margin-bottom: 0;
}
.el-col {
  border-radius: 4px;
}
.row-bg {
  padding: 10px 0;
  background-color: #f9fafc;
}
.el-input {
  width: 250px;
}
</style>
